#pragma once
#include "Coisa.h"
#include "SDL.h"
#include "Tiro.h"
#include "Relogio.h" 
#include <list>

class Inimigo : public Coisa
{
public:
	Inimigo(std::string spritePath, int sizeX, int sizeY, int posX, int posY, int bgColorRed, int bgColorGreen, int bgColorBlue) : Coisa(spritePath, sizeX, sizeY, posX, posY, bgColorRed, bgColorGreen, bgColorBlue)
	{
		relogio.start();
		last_ticks = relogio.get_ticks();
	}
	~Inimigo(void);

	void updateTiros(int posJogadorX, int posJogadorY);	

	list<Tiro *> tiros;

	Relogio relogio;

	int last_ticks;

};